import React from "react";
import styles from "./index.module.css";
import jia from "./images/jiage.jpg";
import { useNavigate } from "react-router";
const Index: React.FC = () => {
  const navigate = useNavigate();
  return (
    <div onClick={() => navigate("/my")}>
      <div className={styles.imgall}>
        <img src={jia} className={styles.img} />
      </div>
    </div>
  );
};

export default Index;
